package objPro.src.a0112;

public class Student {
    private String name;
    private Integer age;

    @Override
    public String toString() {
        return "Student [age=" + age + ", name=" + name + "]";
    }

    public void doHomeWork(){
        System.out.println(this.name+"正在做作业");
    }

    public void study(){
        System.out.println(this.name+"正在学习");
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    
}
